package com.example.day3.controller;
import com.example.day3.proper.DataSourceProperties1;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HellowController {
    @Resource
    DataSourceProperties1 dataSourceProperties1;

    @RequestMapping("/hello")
    public String hello() {
        System.out.println(dataSourceProperties1);
        return "hello";
    }
}

